package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author LYJ
 * @Description 使用openFeign进行远程的调用
 * @date 2020 年 12 月 19 日 17:16
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @GetMapping(value = "coupon/coupon/member/couponList")
    R getMemberCouponList();
}
